class CreateResources < ActiveRecord::Migration
  def self.up
    create_table :resources do |t|
			t.string  :name
			t.text    :description
			t.string  :icon
			t.string :wiki_page
			t.references :category
			t.references :country
			t.references :language
			t.integer  :min_stage
			t.integer  :max_stage

      t.timestamps
    end
  end

  def self.down
    drop_table :resources
  end
end
